package com.hxzy.shop.dto.auth.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;


@Data
public class ChangeRoleAuthorityReq implements Serializable {
    private static final long serialVersionUID = 3851447604250126350L;

    @ApiModelProperty("角色Id")
    private Long roleId;

    @ApiModelProperty("模块Id数组")
    @NotNull(message = "模块Id数组不能为空")
    private List<Long> moduleIds;
}
